package com.ybkj.daijia.server.service.impl;

import com.ybkj.daijia.server.mapper.AdminRoleMapper;
import com.ybkj.daijia.server.model.AdminRole;
import com.ybkj.daijia.server.service.AdminRoleService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;

public class DefaultAdminRoleServiceImpl implements AdminRoleService {

    @Autowired
    private AdminRoleMapper adminRoleMapper;

    @Override
    public List<AdminRole> selectByAdminId(Long adminId) {
        return adminRoleMapper.selectByAdminId(adminId);
    }
}
